package org.example.domain.strategy.service.rule.chain;

/**
 * @ClassName AbstractLogicChain
 * @Description TODO
 * @Author dfx
 * @Date 2024/10/19 19:15
 */

public abstract class AbstractLogicChain implements ILogicChain{

    private  ILogicChain next;


    @Override
    public ILogicChain appendNext(ILogicChain next) {
        this.next=next;
        return next;
    }

    @Override
    public ILogicChain next() {
        return next;
    }

    protected abstract String ruleModel();


}